<!doctype html>
<html class="no-js" lang="zxx">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>林竣建设有限公司</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.png">

    <!-- CSS here -->
    <link rel="stylesheet" href="assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/owl.carousel.min.css">
    <link rel="stylesheet" href="assets/css/slicknav.css">
    <link rel="stylesheet" href="assets/css/animate.min.css">
    <link rel="stylesheet" href="assets/css/hamburgers.min.css">
    <link rel="stylesheet" href="assets/css/magnific-popup.css">
    <link rel="stylesheet" href="assets/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="assets/css/themify-icons.css">
    <link rel="stylesheet" href="assets/css/themify-icons.css">
    <link rel="stylesheet" href="assets/css/slick.css">
    <link rel="stylesheet" href="assets/css/nice-select.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/responsive.css">
</head>

<body>
    <!--? Preloader Start -->
    <div id="preloader-active">
        <div class="preloader d-flex align-items-center justify-content-center">
            <div class="preloader-inner position-relative">
                <div class="preloader-circle"></div>
                <div class="preloader-img pere-text">
                    <img src="assets/img/logo/loder.png" alt="">
                </div>
            </div>
        </div>
    </div>
    <!-- Preloader Start -->
    <header>
        <!-- Header Start -->
        <div class="header-area">
            <div class="main-header ">
                <div class="header-top d-none d-lg-block">
                    <div class="container">
                        <div class="col-xl-12">
                            <div class="row d-flex justify-content-between align-items-center">
                                <div class="header-info-left">
                                    <ul>
                                        <li><i class="fas fa-phone"></i>17639518083</li>
                                        <!-- <li><i class="far fa-envelope"></i>3404513178@qq.com</li> -->
                                    </ul>
                                </div>
                                <div class="header-info-right">
                                    <a href="tel:17639518083" class="btn">联系我们<i class="ti-arrow-right"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="header-bottom  header-sticky">
                    <div class="container">
                        <div class="row align-items-center">
                            <!-- Logo -->
                            <div class="col-xl-2 col-lg-2">
                                <div class="logo">
                                    <a href="index.html"><img src="assets/img/logo/logo.png" alt=""></a>
                                </div>
                            </div>
                            <div class="col-xl-9 col-lg-8">
                                <div class="menu-wrapper  d-flex align-items-center">
                                    <!-- Main-menu -->
                                    <div class="main-menu d-none d-lg-block">
                                        <nav>
                                            <ul id="navigation">
                                                <li><a href="index.html">首页</a></li>
                                                <li><a href="about.html">关于林竣</a></li>
                                                <li><a href="services.html">资质服务</a></li>
                                                <li><a href="project.html">业绩案例</a></li>
                                                <li class="active"><a href="blog.html">新闻资讯</a>
                                                </li>
                                                <li><a href="contact.html">联系我们</a></li>
                                            </ul>
                                        </nav>
                                        </nav>
                                    </div>
                                </div>
                            </div>
                            <!-- Mobile Menu -->
                            <div class="col-12">
                                <div class="mobile_menu d-block d-lg-none"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Header End -->
    </header>
    <main>
        <!--? Hero Start -->
        <div class="slider-area2 section-bg2" data-background="assets/img/hero/hero4.png">
            <div class="slider-height2 d-flex align-items-center">
                <div class="container">
                    <div class="row">
                        <div class="col-xl-12">
                            <div class="hero-cap hero-cap2 text-center">
                                <h2>激发活力，助力成长</h2>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Hero End -->
        <!--? Blog Area Start-->
        <section class="blog_area section-padding" id="myApp">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6 mb-5 mb-lg-0" v-for="item,index in list" :key="index">
                        <article class="blog_item">
                            <div class="blog_item_img">
                                <img class="card-img rounded-0 myArticle" :src="item.image_url" alt="">
                            </div>
                            <div class="blog_details">
                                <a class="d-inline-block" :href="'blog_details.html?id='+ item.id">
                                    <h2 class="blog-head notMore" style="color: #2d2d2d;">{{item.title}}</h2>
                                </a>
                                <p class="notMore">{{item.desc}}</p>
                                <ul class="blog-info-link">
                                    <li><a href="#"><i class="fa ti-home"></i> {{item.updated_at}}</a></li>
                                </ul>
                            </div>
                        </article>

                    </div>
                </div>
                <div class="row text-center" v-if="showMore">
                    <a @click="loadMore" class="btn wantToWork-btn text-center">查看更多</a>
                </div>
                <div class="endAll text-center" v-if="endAll">— 没有更多了 —</div>
            </div>
        </section>
        <!-- Blog Area End -->
    </main>
    <footer>
        <!-- Footer Start-->
        <div class="footer-area footer-padding">
            <div class="container">
                <div class="row d-flex justify-content-between">
                    <div class="col-xl-2 col-lg-2 col-md-4 col-sm-5">
                        <div class="single-footer-caption mb-50">
                            <div class="footer-tittle">
                                <h4>主页</h4>
                                <ul>
                                    <li><a href="index.html">公司简介</a></li>
                                    <li><a href="index.html"> 公司业绩</a></li>
                                    <li><a href="index.html">企业文化</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-3 col-lg-3 col-md-4 col-sm-7">
                        <div class="single-footer-caption mb-50">
                            <div class="footer-tittle">
                                <h4>关于林竣</h4>
                                <ul>
                                    <li><a href="about.html">企业文化</a></li>
                                    <li><a href="blog.html">新闻动态</a></li>
                                    <li><a href="contact.html">联系我们</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-3 col-lg-4 col-md-5 col-sm-8">
                        <div class="single-footer-caption mb-50">
                            <div class="footer-tittle">
                                <h4>联系我们</h4>
                                <div class="footer-pera">
                                    <p class="info1">地址:漯河市西城建业智慧港</p>
                                </div>
                            </div>
                            <div class="footer-number">
                                <p>电话:17639518083</p>
                                <!-- <p>邮件:3404513178@qq.com</p> -->
                            </div>
                        </div>
                    </div>
                    <div class="col-xl-3 col-lg-3 col-md-4 col-sm-5">
                        <div class="single-footer-caption mb-50">
                            <div class="footer-tittle mb-50">
                                <h4>做工程？找资质？来林竣！</h4>
                                <p>联系我们，专属客服经理为您一对一服务！</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- footer-bottom area -->
        <div class="footer-bottom-area">
            <div class="container">
                <div class="footer-border">
                    <div class="row d-flex justify-content-between align-items-center">
                        <div class="col-xl-12 col-lg-8 text-center">
                            <div class="footer-copy-right">
                                <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
                                </p>
                                <p>Copyright &copy;
                                    <script>document.write(new Date().getFullYear());</script>
                                    豫ICP备20003489号-1
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Footer End-->
    </footer>
    <!-- Scroll Up -->
    <div id="back-top">
        <a title="Go to Top" href="#"> <i class="fas fa-level-up-alt"></i></a>
    </div>
    <!-- JS here -->

    <script src="./assets/js/vendor/modernizr-3.5.0.min.js"></script>
    <!-- Jquery, Popper, Bootstrap -->
    <script src="./assets/js/vendor/jquery-1.12.4.min.js"></script>
    <script src="./assets/js/popper.min.js"></script>
    <script src="./assets/js/bootstrap.min.js"></script>
    <!-- Jquery Mobile Menu -->
    <script src="./assets/js/jquery.slicknav.min.js"></script>

    <!-- Jquery Slick , Owl-Carousel Plugins -->
    <script src="./assets/js/owl.carousel.min.js"></script>
    <script src="./assets/js/slick.min.js"></script>
    <!-- One Page, Animated-HeadLin -->
    <script src="./assets/js/wow.min.js"></script>
    <script src="./assets/js/animated.headline.js"></script>
    <script src="./assets/js/jquery.magnific-popup.js"></script>

    <!-- Date Picker -->
    <script src="./assets/js/gijgo.min.js"></script>
    <!-- Nice-select, sticky -->
    <script src="./assets/js/jquery.nice-select.min.js"></script>
    <script src="./assets/js/jquery.sticky.js"></script>

    <!-- counter , waypoint,Hover Direction -->
    <script src="./assets/js/jquery.counterup.min.js"></script>
    <script src="./assets/js/waypoints.min.js"></script>
    <script src="./assets/js/jquery.countdown.min.js"></script>
    <script src="./assets/js/hover-direction-snake.min.js"></script>

    <!-- contact js -->
    <script src="./assets/js/contact.js"></script>
    <script src="./assets/js/jquery.form.js"></script>
    <script src="./assets/js/jquery.validate.min.js"></script>
    <script src="./assets/js/mail-script.js"></script>
    <script src="./assets/js/jquery.ajaxchimp.min.js"></script>

    <!-- Jquery Plugins, main Jquery -->
    <script src="./assets/js/plugins.js"></script>
    <script src="./assets/js/main.js"></script>
    <!-- 引入Vue -->
    <script src="./assets/js/vue@2.7.16.js"></script>
    <script>
        new Vue({
            el: '#myApp',   // 选择器
            data: {
                list: [],
                page: 1,
                pageSize: 4,
                showMore: false,
                endAll: false
            },
            mounted() {
                this.$nextTick(() => {
                    this.showList(1);
                })
            },
            methods: {
                // 加载更多
                loadMore() {
                    this.page++;
                    this.showList();
                },
                // 访问
                showList() {
                    let that = this;
                    let list = this.list;
                    $.ajax({
                        async: false,
                        url: "http://test.staff.zhongbiao001.com/api/web/companyIndexList",
                        data: { company_id: '3013430310994658606', type_id: 1, pageSize: this.pageSize, page: this.page },
                        type: "get",
                        dataType: "JSON",
                        success: function (res) {
                            // 获取返回值
                            let data = res.data.result || [];

                            if (data.length > 0) {
                                that.list = list.concat(data);
                                that.showMore = true;
                            } else {
                                that.showMore = false;
                                that.endAll = true;
                            }
                            console.log(that.list)
                        }
                    })
                }
            }
        })
    </script>
    <style>
        .notMore {
            /* 超出两行隐藏 */
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .myArticle {
            width: 100%;
            height: 260px;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .blog_details {
                padding: 30px 20px 35px;
            }
        }

        .btn {
            border: none;
            padding: 10px 31px;
            margin: 0 auto;
            color: #fff !important;
        }
    </style>
</body>

</html>